/**
 * 协议号
 * @Swyin
 * 2015_8_26
 */
class Protocol
{
    /**
    * 协议号：10000
    * @请求：playerid
    * @返回：playerid,playername,playerlv,playerexperienc,playerbyte,playerhealth,playerpower,playerintellige,playernc,playergay,playerhead,playerface,playerbody,playerarmupperl,playerarmupperr,playerarmlowerl,playerarmlowerr,playerhandl,playerhandr,playerlegupperl,playerlegupperr,playerleglowerl,playerleglowerr,playerfootl,playerfootr,playerpoint
    */
    public static PLAYER_INFO: number = 10000;
    
    /**
    * 协议号：10001
    * @请求：playerid,playername,playerpower,playerintelligence,playernc,playergay
    * @返回：result,msg
    */
    public static CREATE_PLAYER: number = 10001;
    
    /**
    * 协议号：10002
    * @请求：playerid
    * @返回：result,msg,playerpoint(潜能点)
    */
    public static LOGIN_STATUS: number = 10002;
    
    /**
    * 协议号：10003 (请求PVP战斗)
    * @请求：playerid1,playerid2
    * @返回：playerinfo1(object)//返回10000的信息
    *       playerinfo2(object)//返回10000的信息
    *       result(int)//0:失败，1：成功
    *       msg(string)
    *       battleData(arrary)//战斗数据数组
    *           roundMum(int)//战斗第几回合
    *           roundData(arrary)//该回合双方数据素组
    *               playerid(string)//玩家id
    *               skillid(int)//技能id
    *               bomb(number)//暴击倍数
    *               damage(number)//总伤害（如果是0，则对方闪避成功）
    *               health(number)//该回合剩余血量
    */
    public static START_BATTLE: number = 10003;
    
    /**
    * 协议号：10004 (请求更新属性)
    * @请求：playerid,playerhealth,playerpower,playerintelligence,playergay,playernv
    * @返回：result(int)//0:失败，1：成功,3:无法获取玩家信息，4：有作弊嫌疑
    *       msg(string)
    */
    public static UPDATE_ATTR: number = 10004;

    public constructor()
    {
    }
}
